class ValueAnimator {
    func() {
        console.log('value animator');
    }
}

class ObjectAnimator extends ValueAnimator {
    func(variable) {
        console.log(variable);
    }
}
let objectAnimator = new ObjectAnimator();
objectAnimator.func('hello world');
